package com.danco.planner.sortings.sortby;

import java.util.Comparator;

import com.danco.planner.sortings.compareby.ICompareByName;

public class SortByName implements Comparator<ICompareByName>{

	@Override
	public int compare(ICompareByName o1, ICompareByName o2) {
		int temp =  o1.getNameForCompare().compareTo(o2.getNameForCompare());
		return temp;
	}

}
